<template>
  <view class="content">
    <view class="fao-info-box">
      <view class="fao-info-bt">
        <view class="fao-bt-h4">{{data.title}}</view>
        <!-- <text class="fao-bt-txt">发布于：{{data.update_time}}</text> -->
      </view>
      <view class="fao-info-main">
        <rich-text style="font-size:28rpx;color:#666;" :nodes="data.content"></rich-text>
      </view>
    </view>
  </view>
</template>

<script>

export default {

  data() {
    return {
      data: {
        title:'',
        content:''
      }
    };
  },
  onLoad(data) {
    this.data.title = data.data
    if (data.data == "联系客服") {
      this.data.content = uni.getStorageSync("jyfw").customer_service
    }else if (data.data == "协议与说明") {
      this.data.content = uni.getStorageSync("jyfw").protocol
    }else if (data.data == "关于我们") {
      this.data.content = uni.getStorageSync("jyfw").about_us
    }
  },
  methods: {
  }
};
</script>
<style lang="stylus" scoped>

</style>
